package com.ellison.demo.common.controller;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 测试项目
 *
 * @author Ellison_Pei
 * @date 2021/10/25 10:33
 * @since 1.0
 **/
@RestController
@RequestMapping("/test")
public class TestController {
    private static final Logger LOGGER = LoggerFactory.getLogger(TestController.class);

    @GetMapping("hello")
    public String helloWorld(){
        LOGGER.debug("helloWorld");
        return "helloWorld!";
    }


}
